CXX = g++
CXXFLAGS = -O3 -fPIC -Wall -Wno-unused -fexceptions -fpermissive
CPPFLAGS = -D__cplusplus -D_REENTRANT
LIBS =  -L/usr/local/lib
INCLUDES = -I/usr/local/include -I. 

.cc.o:
	$(CXX) -c $(CPPFLAGS) $(INCLUDES) $(CXXFLAGS) $*.cc

.cpp.o:
	$(CXX) -c $(CPPFLAGS) $(INCLUDES) $(CXXFLAGS) $*.cpp


all : geo_std.o


geo_std.o : geo_std.cpp

clean:
	rm -f *~
	rm -f *.o
	rm -f *.pyc

install: 
	mv geo_std.o ../../../../lib
	python bin_update.py
